<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\common\model;

use think\Model;
use app\common\model\Base;

class MemberLoginLog extends Base {

    public function getCreateTimeAttr($value) {
        return date('Y/m/d H:i:s', $value);
    }

    public function model_where($wheres = []) {


        foreach ($wheres as $key => $value) {
            $this->where($key, $value[0], $value[1]);
        }

        return $this;
    }

}
